package top.beiermode.geektime.web.mvc.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 页面控制器，负责服务端页面渲染
 *
 * @author Chen Song
 * @since 1.0
 */
public interface PageController extends Controller {

    /**
     *
     * @param request
     * @param response
     * @return 视图地址路径
     * @throws Throwable
     */
    String execute(HttpServletRequest request, HttpServletResponse response) throws Throwable;

}
